package fun.anin.aninhongbao.entity;

import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 抢红包记录表(RedPacketRecord)实体类
 *
 * @author makejava
 * @since 2020-03-29 14:49:36
 */
@Data
@Builder
public class RedPacketRecord implements Serializable {
    private static final long serialVersionUID = -31352781414198081L;
    /**
    * 自增主键
    */
    private Long id;
    /**
    * 抢到红包的金额
    */
    private Integer amount;
    /**
    * 红包ID
    */
    private Long redPacketId;
    /**
    * 抢到红包用户的用户标识
    */
    private Long uid;
    /**
    * 是否运气王
    */
    private Integer isLuck;
    /**
    * 创建时间
    */
    private Date createTime;

}